{% extends "order.html" %}
{%block Order_body%}
{%for lesson in lessonlist%}
<div class="odbox" style="margin-left:20px">
	<div class="uinfo" >
		<img src="/media/{{lesson.users.src}}" style="float:left;width: 120px;	height: 120px;margin-top:20px;border-radius:10px;display: inline;" id="{{lesson.users.id}}" onmouseover="showinfo(this)"  onmouseleave="hideinfo(this)">

		<div class="stu_text" id="info{{lesson.users.id}}" style="display: none;">
			 <h3>个人信息</h3>
			 &nbsp;&nbsp;姓名：{{lesson.users.nickname}}<br/>
			 &nbsp;&nbsp;年龄：{{lesson.users.age}}岁<br/>
			 &nbsp;&nbsp;学校：{{lesson.users.school}}<br/>
			 &nbsp;&nbsp;学历：{{lesson.users.eduBackgroud}}<br/>
			 &nbsp;&nbsp;联系方式：{{lesson.users.contact}}<br/>
		</div>
	</div>
	<div class="odinfo" style="float:left;width:820px;background-color:#FFF;margin-top:20px">
		<div style="background-color:#BBB">
			<span style=""><b>姓名：{{lesson.users.nickname}}</b></span>
			<span style="position: absolute;left:500px"><b>课程名：{{lesson.title}}</b></span>
		</div>
		<div style="border: 1px solid black;min-height:80px;">{{lesson.request}}</div>
		<div style="margin-left:730px">
		<button class="receiver" id="{{lesson.id}}" onclick="receiver(this)" style="width: 80px">接受</button>
		</div>
	</div>
</div>
{%endfor%}

{% endblock %}